<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%-- 
    JSP Name : ml_100_04.jsp
    Description : 뉴스레터 상세 페이지
    author Ki min
    since 2012. 7. 24.
    version 1.0
    Modification Information
       since          author              description
    ===========    =============    ===========================
    2012. 7. 24.     Ki min     최초 생성
--%>
<%@ include file="/WEB-INF/jsp/co/mn/include/declare.jspf" %>
<%@ include file="/WEB-INF/jsp/co/mn/include/session.jspf" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">
<head>
<%@ include file="/WEB-INF/jsp/co/mn/include/header.jspf" %>
<script type="text/javaScript" language="javascript">
$(document).ready(function() {    
    /* form validation check */
    onloadCharCheck();
    
    /* List Page 이동 */
    $("#listButn").bind("click", moveListPage);
});

/*
 * 리스트페이지 이동
 */
function moveListPage() {
    $("#mainForm").attr('action','/ml_100_03.do').submit();
}

</script>
</head>
<body>
<div id="wrap">
    <!-- top -->
    <%@ include file="/WEB-INF/jsp/co/mn/include/top.jsp" %>
    <!-- top -->

    <!-- container -->
    <div id="container">
        <!-- LNB -->
        <%@ include file="/WEB-INF/jsp/co/mn/include/left.jsp" %>
        <!-- LNB -->
        
        <div id="contents" class="clearfix">
        
            <!-- location -->
            <%@ include file="/WEB-INF/jsp/co/mn/include/location.jsp" %>
            <!-- location -->
            
            <form id="mainForm" name="mainForm" method="post">
                <input type="hidden" id="currentPageNo" name="currentPageNo" value="${rqInfo.currentPageNo }" />
                <input type="hidden" id="ltrIdx" name="ltrIdx" value="${rqInfo.idx }" />
                <input type="hidden" id="srchScn" name="srchScn" value="${rqInfo.srchScn }" />
                <input type="hidden" id="srchTxt" name="srchTxt" value="${rqInfo.srchTxt }" />
            <table border="1" class="modTable" summary="뉴스레터 관리의 제목,내용이 기재 되어 있는 표">
                <col width="25%" />
                <col width="75%" />
                <tbody>
                    <tr>
                        <th>제목</th>
                        <td>${result.titl }</td>
                    </tr>
                    <tr>
                        <th>년</th>
                        <td>${result.rgstY }년 </td>
                    </tr>
                    <tr>
                        <th>월</th>
                        <td>${result.rgstM }월</td>
                    </tr>
                    <tr>
                        <th>내용</th>
                        <td><iframe width="500" height="500" src="/upfile/html/${result.filNm}"></iframe></td>
                    </tr>
                </tbody>
            </table>
            </form>
            <div class="btnBoard">
                <span class="reverse">
                    <a href="#" id="listButn" name="listButn" >목록</a>
                </span>
            </div>
        </div>
    </div>
    <!-- /container -->

    <!-- footer -->
    <%@ include file="/WEB-INF/jsp/co/mn/include/bottom.jsp" %>
    <!-- /footer -->
</div>
</body>
</html>